﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class ApplyTbDetailCost
    {
        /// <summary>
        /// 主键(Apply_Key_List)
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 申请单主表ID(Apply_Tb_List)
        /// </summary>
        public int? ListId { get; set; }
        /// <summary>
        /// 申请单明细项目表ID(Apply_Tb_Detail)
        /// </summary>
        public int? DetlId { get; set; }
        /// <summary>
        /// 收费项目ID
        /// </summary>
        public int? PayItemId { get; set; }
        /// <summary>
        /// 收费项目代码
        /// </summary>
        public string? PayItemCode { get; set; }
        /// <summary>
        /// 收费项目名称
        /// </summary>
        public string? PayItemName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Num { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal? Amount { get; set; }
        /// <summary>
        /// 收费标识
        ///  0 未收费
        ///  1 已收费
        ///  2 收费中
        ///  3 已退费
        /// </summary>
        public int? ChargeFlag { get; set; }
        /// <summary>
        /// 收费时间
        /// </summary>
        public DateTime? ChargeDate { get; set; }
        /// <summary>
        /// 收费规则ID
        /// </summary>
        public int? ChargeRuleId { get; set; }
        /// <summary>
        /// 收费规则
        /// </summary>
        public string? ChargeRule { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public byte? HospitalId { get; set; }
        public int? GlobalId { get; set; }
        public string? DrugStandard { get; set; }
        public decimal? Dose { get; set; }
        public int? DoseUnit { get; set; }
        public string? DoseUnitName { get; set; }
        public int? Usage { get; set; }
        public string? UsageName { get; set; }
        public int? ItemCategory { get; set; }
        /// <summary>
        /// 减免标识
        /// </summary>
        public bool? ReliefFlag { get; set; }
        public int? ExecDept { get; set; }
    }
}
